package com.example.subside;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.ConfigurableApplicationContext;

//@SpringBootApplication(exclude= {DataSourceAutoConfiguration.class}) //排除初始化数据库相关  引入mybatisplus相关包之后，必须要使用
@Slf4j
@SpringBootApplication
public class ChatRobotApplication {

    public static void main(String[] args) {
        ConfigurableApplicationContext context = SpringApplication.run(ChatRobotApplication.class, args);
        System.out.println("context:"+context);
        log.info("ChatRobotApplication 启动完成!");
    }

}
